<h2 class="text-center"><?php echo __('Collaborator System'); ?></h2>
<?php echo $this->Session->flash('auth') ?>
<div class="form-horizontal">
	<?php echo $this->Form->create('User', array('url' => array('controller' => 'users', 'action' => 'login'), 'class'=>'well'));?>
	<fieldset>
	<div class="control-group">
	<?php echo $this->Form->label('username','<strong>'.__('Username').'</strong>',array('class'=>'control-label')) ?>
	<?php echo $this->Form->input('username',array('div'=>'controls','label'=>false,'class'=>'span3')) ?>
	</div>
	
	<div class="control-group">
	<?php echo $this->Form->label('password','<strong>'.__('Password').'</strong>',array('class'=>'control-label')) ?>
	<?php echo $this->Form->input('password',array('div'=>'controls','label'=>false,'class'=>'span3')) ?>
	</div>
	
	<div class="control-group">
		<div class="controls">
			<label class="checkbox">
		    	<?php echo $this->Form->checkbox('remember_me', array('hiddenField' => false)); ?>
				<?php echo __('Remember me')?>
		  	</label>
		  	<?php echo $this->Form->submit('Login',array('class'=>'btn btn-primary'));?>
		</div>
	</div>
	</fieldset>
	<?php echo $this->Form->end() ?>
</div>